import java.util.Scanner;

/**
 * @author zhaoqian
 * @create 2021/9/1 13:54
 */
public class juzhen {               //蛇形矩阵  不会
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 2345       1 3 6 10 15
        int arr[]={1,2,-1,5};
        java.util.Arrays.sort(arr);
        while (in.hasNext()) {                      // 1234
         int i=0;
         int j=1;
            StringBuilder builder = new StringBuilder();
            builder.append(i+j+" ");
            i=i+j;
            j++;


        }
    }
}
